/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client;

import javax.xml.ws.WebServiceRef;


/**
 *
 * @author Renato Rosa <2101076@my.ipleiria.pt>
 */
public class HelloClient {
    
    @WebServiceRef(wsdlLocation="http://localhost:8080/helloservice/hello?wsdl")
    private static Hello service;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        service = new HelloService().getHelloPort();
        System.out.println("Response: " + service.namedHello("Renato"));
        // TODO code application logic here
    }
}
